<style>
	.pagination li span.currentpage {
		color: #FFF;
		font-weight: bold;
		background-color: #F87622;
		border-color: #FC6520;
		position: relative;
		z-index: 2;
	}
.nch-sortbar-owner.selected {
    background: none;
    color: #F87622;
}
</style>
<div ng-include="sys_html('layout/_header')"></div>
<div class="nch-container wrapper">
	<div class="left">
		<div class="nch-module nch-module-style03">
			<div class="title">
				<h3>Recent browse</h3>
			</div>
			<div class="content">
				<div class="nch-sidebar-viewed ps-container" id="nchSidebarViewed">
					<ul>
						<li ng-repeat="row in pagedata.hlist" class="nch-sidebar-bowers">
							<div class="goods-pic"><a href="javascript:;" ng-click="access_json('jy_weishop_en/goods.detail//id='+row.goodsid)" target="_blank">
								<img ng-src="{{tomedia(row.image)}}" data-url="{{tomedia(row.image)}}" title="{$row['title']}" alt="{{row.title}}" style="display: inline;"></a></div>
							<dl>
								<dt><a style="color:#333;" href="javascript:;" ng-click="access_json('jy_weishop_en/goods.detail//id='+row.goodsid)" target="_blank">{{row.title}}</a></dt>
								<dd>${{row.price || '0.00'}}</dd>
							</dl>
						</li>
						
					</ul>
				</div>
				<a href="javascript:;" ng-click="access_json('jy_weishop_en/member.history/')" class="nch-sidebar-all-viewed">All the browsing history</a></div>
		</div>
	</div>
	<div class="right">
		<div id="gc_goods_recommend_div" style="width:980px;"></div>
		<div class="shop_con_list" id="main-nav-holder">
			<nav class="sort-bar" id="main-nav">
				<div class="nch-sortbar-array"> The sorting way：
					<ul>
						<li id="good_default" ng-class="{'selected':pagedata.params.order=='default'}"><a href="javascript:;" ng-click="pagedata.params.order='default';tool.get_list('getlist',true)" title="default">default</a></li>
						<li id="goood_sale" ng-class="{'selected':pagedata.params.order=='sales'}">
							<a ng-class="{'asc':pagedata.params.order_type==1,'desc':pagedata.params.order_type==2}" href="javascript:;" ng-click="pagedata.params.order='sales';tool.get_list('getlist',true)" title="sales">sales<i></i></a>
						</li>						
						<li id="goood_price" ng-class="{'selected':pagedata.params.order=='price'}">
							<a ng-class="{'asc':pagedata.params.order_type==1,'desc':pagedata.params.order_type==2}" href="javascript:;" ng-click="pagedata.params.order='price';toogle(pagedata.params,'order_type',[1,2]);tool.get_list('getlist',true)" title="price">price<i></i></a>
						</li>
						<li>
							<div>
								<input id="priceMin" title="最低价" value="" maxlength="6" onkeyup="this.value=this.value.replace(/[^0-9]/g,'');" class="input-txt"><em>-</em>
								<input id="priceMax" title="最高价" value="" maxlength="6" onkeyup="this.value=this.value.replace(/[^0-9]/g,'');" class="input-txt">
								<a id="priceBtn" class="priceBtn">determine</a>
							</div>
						</li>
					</ul>
				</div>
				<div id="isnew_box" ng-class="{'nch-sortbar-owner':1, 'selected':pagedata.params.order=='isnew'}">
					<span>
						<a href="javascript:;" ng-click="pagedata.params.order='isnew';tool.get_list('getlist',true)">New</a>
					</span>
				</div>
				<div id="ishot_box" ng-class="{'nch-sortbar-owner':1, 'selected':pagedata.params.order=='ishot'}">
					<span>
						<a href="javascript:;" ng-click="pagedata.params.order='ishot';tool.get_list('getlist',true)">Hot</a>
					</span>
				</div>
				<div id="isrecommand_box" ng-class="{'nch-sortbar-owner':1, 'selected':pagedata.params.order=='isrecommand'}">
					<span>
						<a href="javascript:;" ng-click="pagedata.params.order='isrecommand';tool.get_list('getlist',true)" >Recommend</a>
					</span>
				</div>
				<div id="isdiscount_box" ng-class="{'nch-sortbar-owner':1, 'selected':pagedata.params.order=='isdiscount'}">
					<span>
						<a href="javascript:;" ng-click="pagedata.params.order='isdiscount';tool.get_list('getlist',true)">Sales</a>
					</span>
				</div>
				<script>
					var order = scope.pagedata.order;
					var url = scope.pagedata.url;	
					$('#priceBtn').bind('click',function(){
						var priceMin = $('#priceMin').val();
						var priceMax = $('#priceMax').val();
						console.log(priceMax);console.log(priceMin);
						scope.pagedata.params.priceMin=priceMin;
						scope.pagedata.params.priceMax=priceMax;
						scope.tool.get_list('getlist',true)
					});
				</script>
				
				
			</nav>
			<!-- 商品列表循环  -->

			<div>
				<style type="text/css">
					#box {
						background: #FFF;
						width: 238px;
						height: 410px;
						margin: -390px 0 0 0;
						display: block;
						border: solid 4px #D93600;
						position: absolute;
						z-index: 999;
						opacity: .5
					}
					.shopMenu {
						position: fixed;
						z-index: 1;
						right: 25%;
						top: 0;
					}
				</style>
				<div class="squares">
					<input type="hidden" id="lockcompare" value="unlock">
					<ul class="list_pic">
						<li ng-repeat="row in pagedata.list" class="item">
							<div class="goods-content">
								<div class="goods-pic">
								<a href="javascript:;" ng-click="access_json('jy_weishop_en/goods.detail//id='+row.id)" target="_blank" title="{{row.title}}">
									<img width="230" height="220" ng-src="{{tomedia(row.image)}}" data-url="{{tomedia(row.image)}}" title="{{row.title}}" alt="{{row.title}}" style="display: inline;"></a>
								</div>
								<div class="goods-info" style="padding:10px">
									<div class="goods-price"> <em class="sale-price" title="PRICE">${{row.price}}</em> <em class="market-price" title="market">${{row.price * 1.2}}</em> 
										<input type="hidden" name="score" value="5" readonly="readonly"></span>
										<span class="price"><i class="icon icon-cart"></i></span>
									</div>
									<div class="goods-name"><a href="javascript:;" ng-click="access_json('jy_weishop_en/goods.detail//id='+row.id)" target="_blank">{{row.title}}<em></em></a></div>
								</div>
							</div>
						</li>

						<div class="clear"></div>
					</ul>
				</div>

			</div>
			<div class="tc mt20 mb20">
				<div ng-include="sys_html('common/page',true)"></div>
			</div>
		</div>

		<!-- 猜你喜欢 -->
		<div id="guesslike_div" style="width:980px;"></div>
	</div>
</div>
<script type="text/javascript">
	$('#add_cart').bind('click',function(){
	});
	scope.tool.get_list('jy_weishop_en/goods.index/getlist/',true)
</script>
<div ng-include="sys_html('layout/_footer')"></div>